package com.coder.baseapp.mvp.model;

import com.coder.baseapp.common.Constants;
import com.coder.baseapp.mvp.base.IModel;
import com.coder.baseapp.mvp.model.entity.User;
import com.coder.baseapp.mvp.model.entity.def.ResponseEntity;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @Author: Tua.CoderGui
 * *
 * @Date: 2017/3/9
 * *
 * Copyright (c) 2017 All Rights Reserved.
 */
public interface API {

    @GET(value = Constants.UserLogin)
    Flowable<ResponseEntity<User>> login(@Query("UserName") String username, @Query("Pwd") String password);


}
